<?php
/**
 * Created by PhpStorm.
 * User: zing
 * Date: 2018/10/12
 * Time: 23:12
 */

//Sets a user-defined error handler function
set_error_handler(function ($err_code, $err_message) {
    echo $err_code . ' ' . $err_message . PHP_EOL;
}, E_ALL | E_STRICT);


$i = 1 / 0;
echo(new stdClass());
